import { create } from 'zustand'
type State = {
    token?: string
}

type Actions = {
    login:()=>void
}

export const useUserStore = create<State & Actions>((set, get) => {
    const login=function(){

    }
    return {
        token:localStorage.getItem("tokem")??undefined,
        login,
    }
})